package pojo;

import annotation.fields;
import annotation.table;

@table(value = "addpower")
public class Addpower {
    @fields(colounmName = "aid")
    private Integer aid;
    @fields(colounmName = "uid")
    private Integer uid;
    @fields(colounmName = "mid")
    private Integer mid;

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    @Override
    public String toString() {
        return "Addpower{" +
                "aid=" + aid +
                ", uid=" + uid +
                ", mid=" + mid +
                '}';
    }

    public Addpower() {
    }

    public Addpower(Integer aid, Integer uid, Integer mid) {
        this.aid = aid;
        this.uid = uid;
        this.mid = mid;
    }
}
